/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tareasClase;

/**
 *
 * @author Lab
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {


        int x =Integer.parseInt("abc",16);
          int y =Integer.parseInt("001",2);

          int r=x+y;


            System.out.println(Integer.toHexString(r));
              System.out.println(Integer.toBinaryString(r));
                System.out.println(Integer.toOctalString(r));
                  System.out.println(Integer.toString(r));
         System.out.println(Integer.toString(r,7));
         System.out.println(Integer.toString(r,5));
         System.out.println(Integer.toString(r,20));


    }

}
